<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
<head>
	<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
	<title>Document</title>
	<link rel="stylesheet" href="./Public/Admin/Bootstrap/Css/bootstrap.min.css" />
	<script type="text/javascript" src='./Public/Admin/js/jquery-1.8.2.min.js'></script>
	<style type="text/css">
		body{
			margin-bottom: 100px;
		}
	</style>
</head>
<body>
	<div class="container-fluid">
	<div class="row-fluid">
	<div class="span12">
	<form action="" method="post">
		<table class='table table-bordered table-hover'>
			<tr>
				<th>货品ID</th>
				{{foreach from="$newData" key="$key" value="$v"}}
					<th>{{$key}}</th><!-- 这儿是规格(颜色、尺寸等),得用循环 -->
				{{endforeach}}
				<th>库存</th>
				<th>货号</th>
			</tr>
			<tr class="info">
				<td>333</td>
					<td>44</td>
					<!-- 这儿是规格(颜色、尺寸、身高等),得用循环 -->
				<td>555</td>
				<td>555</td>
				<td>66</td>
			</tr>
		<input type="hidden" name="gid" value="" />
		</table>
		<input type="submit" value='保存修改' class="btn btn-primary" name="submit" />
	</form>
	</div>
	</div>
	</div>
</body>
</html>